<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" isELIgnored="false" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">aa
    <title></title>
</head>
<body>
<form action="/users?action=login" method="post">
  <table align="center" border="0">
    <tr>
      <th><h3>用户登录</h3><th>
    </tr>
    <tr>
      <td>账号：</td>
      <td>
        <input type="text" name="username" value="admin"/>
      </td>
    </tr>
    <tr>
      <td>密码：</td>
      <td>
        <input type="text" name="password" value="123456"/>
      </td>
    </tr>
    <tr>
      <td colspan="2">
        ${ retMsg }
      </td>
    </tr>
    <tr>
      <td colspan="2" align="center">
        <input type="submit" value="登录"/>
        <input type="button" value="注册" onclick="javascript:location.href='regist.jsp'"/>
      </td>
    </tr>
  </table>
</form>
</body>
</html>
